#ifndef __TMTF_H__
#define __TMTF_H__


unsigned char IsHaveData( unsigned char MM,unsigned char DD);
void NewDay(void);
unsigned long GetAddrForSave(unsigned char M,unsigned char D);

unsigned char GetSensorIndex(unsigned int Addr);
unsigned int GetSensorAddr(unsigned char index);
unsigned int MakeSensorAddr(unsigned char floor,unsigned char room,unsigned char index);
#endif
